# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#	           ChangeSet	1.1379  -> 1.1380 
#	include/linux/sched.h	1.155   -> 1.156  
#	 include/linux/irq.h	1.9     -> 1.10   
#	drivers/acpi/pci_irq.c	1.18    -> 1.19   
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/07/10	stevef@stevef95.austin.ibm.com	1.1372.1.6
# Open / Create lookup intents part one
# --------------------------------------------
# 03/07/10	dlstevens@us.ibm.com	1.1373.4.5
# [IPV4]: Do not sent IGMP leave messages unless IFF_UP.
# --------------------------------------------
# 03/07/10	torvalds@home.osdl.org	1.1373.1.24
# Merge bk://kernel.bkbits.net/jgarzik/irda-2.5
# into home.osdl.org:/home/torvalds/v2.5/linux
# --------------------------------------------
# 03/07/10	torvalds@home.osdl.org	1.1373.1.25
# Merge bk://kernel.bkbits.net/jgarzik/net-drivers-2.5
# into home.osdl.org:/home/torvalds/v2.5/linux
# --------------------------------------------
# 03/07/10	torvalds@home.osdl.org	1.1373.1.26
# Avoid mmap() overflow case if TASK_SIZE is the
# full range of an "unsigned long" (sparc64).
# --------------------------------------------
# 03/07/10	petr@scssoft.com	1.1373.1.27
# [PATCH] via-agp.c - agp_try_unsupported typo
# 
# via-agp.c has the agp_try_unsupported test reverted
# --------------------------------------------
# 03/07/10	Andries.Brouwer@cwi.nl	1.1373.1.28
# [PATCH] cryptoloop
# 
# util-linux is waiting for this: it needs to update "struct loop_info64"
# to add the encryption policy name.
# --------------------------------------------
# 03/07/10	davem@kernel.bkbits.net	1.1373.1.29
# Merge davem@nuts.ninka.net:/home/davem/src/BK/net-2.5
# into kernel.bkbits.net:/home/davem/net-2.5
# --------------------------------------------
# 03/07/10	stevef@stevef95.austin.ibm.com	1.1372.1.7
# Add mknod support
# --------------------------------------------
# 03/07/10	willy@debian.org	1.1373.7.1
# [PATCH] parisc updates
# 
# arch/parisc, drivers/parisc and include/asm-parisc updates:
# 
#  - Fixups for struct timespec changes (James Bottomley)
#  - Add CONFIG_FRAME_POINTER (Thibaut Varene)
#  - Fix hpux ustat emulation (Helge Deller)
#  - Add a ->remove operation to struct parisc_device (James Bottomley)
#  - More work on modules (James Bottomley)
#  - More unaligned instructions handled (LaMont Jones)
#  - Fix byteswap assembly (Grant Grundler)
#  - Allow ISA support to be selected (Matthew Wilcox)
#  - Fix swapping (James Bottomley)
# --------------------------------------------
# 03/07/10	willy@debian.org	1.1373.7.2
# [PATCH] Makefile update for parisc
# 
# parisc64 machines should build parisc kernels.
# --------------------------------------------
# 03/07/10	willy@debian.org	1.1373.7.3
# [PATCH] eisa Kconfig update for parisc
# 
# PA-RISC doesn't have PCI<->EISA bridges (they're all GSC<->EISA).
# --------------------------------------------
# 03/07/10	willy@debian.org	1.1373.7.4
# [PATCH] Add two sysctls for PA-RISC
# 
# Add two PA-RISC sysctls.
# --------------------------------------------
# 03/07/10	willy@debian.org	1.1373.7.5
# [PATCH] Remove warning from binfmt_elf.c for upwards growing stack
# --------------------------------------------
# 03/07/10	willy@debian.org	1.1373.7.6
# [PATCH] gsc-ps2 update
# 
# Update gsc_ps2 for recent changes.
# --------------------------------------------
# 03/07/10	torvalds@home.osdl.org	1.1373.1.30
# Merge bk://kernel.bkbits.net/davem/net-2.5
# into home.osdl.org:/home/torvalds/v2.5/linux
# --------------------------------------------
# 03/07/10	davem@nuts.ninka.net	1.1373.4.6
# [IPV6]: Build and send redirect packet using "buff" not "skb", fixes OOPS.
# --------------------------------------------
# 03/07/10	davem@nuts.ninka.net	1.1373.4.7
# [IPV6]: Fix dst reference counting in ndisc_send_redirect().
# --------------------------------------------
# 03/07/10	torvalds@home.osdl.org	1.1373.1.31
# Merge comment updates from DRI CVS tree.
# --------------------------------------------
# 03/07/10	torvalds@home.osdl.org	1.1373.1.32
# Update i810 DRI driver from CVS to add page flipping.
# 
# (version 1.2.1 to 1.3.0)
# --------------------------------------------
# 03/07/10	torvalds@home.osdl.org	1.1373.1.33
# Update r128 driver from DRI CVS: add support for ycbcr textures.
# 
# (version 2.3.0 -> 2.4.0)
# --------------------------------------------
# 03/07/10	torvalds@home.osdl.org	1.1373.1.34
# Update radeon driver from DRI CVS: add more commands.
# 
# (version 1.8.0 -> 1.9.0)
# --------------------------------------------
# 03/07/10	torvalds@home.osdl.org	1.1373.1.35
# Merge from DRI CVS tree: avoid zero DRI "handles".
# --------------------------------------------
# 03/07/11	akpm@osdl.org	1.1373.1.36
# [PATCH] fix return of compat_sys_sched_getaffinity
# 
# From: rwhron@earthlink.net
# 
# It returns sizeof(compat_ulong_t) even if put_user() faulted.
# --------------------------------------------
# 03/07/11	akpm@osdl.org	1.1373.1.37
# [PATCH] remove proc_mknod()
# 
# From: Christoph Hellwig <hch@lst.de>
# 
# It's not used anymore since ALSA switched to traditional devices and device
# nodes in procfs are a bad idea in general..
# 
# Also update the docs.
# --------------------------------------------
# 03/07/11	akpm@osdl.org	1.1373.1.38
# [PATCH] reiserfs dirty memory accounting fix
# 
# The ClearPageDirty() in there is wrong - it doesn't adjust the VM's dirty
# memory accounting.  The system thinks it's full of dirty memory and stops.
# --------------------------------------------
# 03/07/11	akpm@osdl.org	1.1373.1.39
# [PATCH] fix reiserfs for 64bit arches
# 
# From: Oleg Drokin <green@namesys.com>
# 
# From the time of reiserfs_file_write inclusion all 64bit arches were not
# able to work with reiserfs for pretty stupid reason (incorrect "unsigned
# long" definition of blocknumber type).
# 
# This fixes the problem.
# --------------------------------------------
# 03/07/11	akpm@osdl.org	1.1373.1.40
# [PATCH] wall_to_monotonic initialization fixes for
# 
# From: Tim Schmielau <tim@physik3.uni-rostock.de>
# 
# This patch adds (or fixes) initialization of wall_to_monotonic for a few
# more architectures.
# 
# This should get rid of the strange uptime>14600 days reports, except on arm
# whose arch file layout is too unfamiliar to me.
# 
# The patch is blessed by George Anzinger, but untested due to lack of
# hardware.
# --------------------------------------------
# 03/07/11	akpm@osdl.org	1.1373.1.41
# [PATCH] i_size atomic access: infrastructure
# 
# From: Daniel McNeil <daniel@osdl.org>
# 
# This adds a sequence counter only version of the reader/writer consistent
# mechanism to seqlock.h This is used in the second part of this patch give
# atomic access to i_size.
# --------------------------------------------
# 03/07/11	akpm@osdl.org	1.1373.1.42
# [PATCH] i_size atomic access
# 
# From: Daniel McNeil <daniel@osdl.org>
# 
# This adds i_seqcount to the inode structure and then uses i_size_read() and
# i_size_write() to provide atomic access to i_size.  This is a port of
# Andrea Arcangeli's i_size atomic access patch from 2.4.  This only uses the
# generic reader/writer consistent mechanism.
# 
# Before:
# mnm:/usr/src/25> size vmlinux
#    text    data     bss     dec     hex filename
# 2229582 1027683  162436 3419701  342e35 vmlinux
# 
# After:
# mnm:/usr/src/25> size vmlinux
#    text    data     bss     dec     hex filename
# 2225642 1027655  162436 3415733  341eb5 vmlinux
# 
# 3.9k more text, a lot of it fastpath :(
# 
# It's a very minor bug, and the fix has a fairly non-minor cost.  The most
# compelling reason for fixing this is that writepage() checks i_size.  If it
# sees a transient value it may decide that page is outside i_size and will
# refuse to write it.  Lost user data.
# --------------------------------------------
# 03/07/11	akpm@osdl.org	1.1373.1.43
# [PATCH] kmap() -> kmap_atomic() in fs/exec.c
# 
# replace a kmap() with kmap_atomic()
# --------------------------------------------
# 03/07/11	akpm@osdl.org	1.1373.1.44
# [PATCH] make CONFIG_KALLSYMS default to "on"
# 
# From: Diego Calleja Garcia <diegocg@teleline.es>
# 
# Move CONFIG_KALLSYMS out of the arch directory and into init/.
# 
# It defaults to "on" unless the user explicitly turns it off in the
# "embedded systems" menu.
# --------------------------------------------
# 03/07/11	akpm@osdl.org	1.1373.1.45
# [PATCH] misc fixes
# 
# - remove accidental debug code from ext3 commit.
# 
# - /proc/profile documentation fix (Randy Dunlap)
# 
# - use sb_breadahead() in ext2_preread_inode()
# 
# - unused var in mpage_writepages()
# --------------------------------------------
# 03/07/11	akpm@osdl.org	1.1373.1.46
# [PATCH] Set umask correctly for nfsd kernel threads
# 
# From: Andreas Gruenbacher <agruen@suse.de>
# 
# Without acls, when creating files the umask is applied directly in the vfs.
# ACLs require that the umask is applied at the file system level, depending on
# whether or not the containing directory has a default acl.  The daemonize()
# function makes kernel threads share their fs_struct structure with the init
# process.  Among other things, fs_struct contains the umask, so all kernel
# threads share their umask with init.
# 
# The kernel nfsd needs to create files with a umask of 0.  Init's umask cannot
# simply be changed to 0 --- this would have side effects on init, and init
# would have side effects on nfsd.  So this patch recreates a fs_struct
# structure for nfsd kernel threads, and sets its umask to 0.
# 
# This fixes bug #721, <http://www.osdl.net/show_bug.cgi?id=721>.
# --------------------------------------------
# 03/07/11	akpm@osdl.org	1.1373.1.47
# [PATCH] Bug fix in AIO initialization
# 
# From: "Chen, Kenneth W" <kenneth.w.chen@intel.com>
# 
# We hit this bug when we have the following scenario:
# 
# One process initializes an AIO context and then forks out many child
# processes.  When those child processes exit, many BUG checks
# (effectively kernel oops) were triggered from put_ioctx(ctx) in function
# exit_aio().
# 
# The issue was that the AIO context was incorrectly copied upon forking
# and mislead all child processes to think they have an IO context and
# trying to free it where they really don't own.  The following patch fix
# the issue.
# --------------------------------------------
# 03/07/11	akpm@osdl.org	1.1373.1.48
# [PATCH] Fix race condition between aio_complete and
# 
# From: "Chen, Kenneth W" <kenneth.w.chen@intel.com>
# 
# We hit a memory ordering race condition on AIO ring buffer tail pointer
# between function aio_complete() and aio_read_evt().
# 
# What happens is that on an architecture that has a relaxed memory ordering
# model like IPF(ia64), explicit memory barrier is required in a SMP
# execution environment.  Considering the following case:
# 
# 1 CPU is executing a tight loop of aio_read_evt.  It is pulling event off
# the ring buffer.  During that loop, another CPU is executing aio_complete()
# where it is putting event into the ring buffer and then update the tail
# pointer.  However, due to relaxed memory ordering model, the tail pointer
# can be visible before the actual event is being updated.  So the other CPU
# sees the updated tail pointer but picks up a staled event data.
# 
# A memory barrier is required in this case between the event data and tail
# pointer update.  Same is true for the head pointer but the window of the
# race condition is nil.  For function correctness, it is fixed here as well.
# 
# By the way, this bug is fixed in the major distributor's kernel on 2.4.x
# kernel series for a while, but somehow hasn't been propagated to 2.5 kernel
# yet.
# --------------------------------------------
# 03/07/11	akpm@osdl.org	1.1373.1.49
# [PATCH] separate locking for vfsmounts
# 
# From: Maneesh Soni <maneesh@in.ibm.com>
# 
# While path walking we do follow_mount or follow_down which uses
# dcache_lock for serialisation.  vfsmount related operations also use
# dcache_lock for all updates. I think we can use a separate lock for
# vfsmount related work and can improve path walking.
# 
# The following two patches does the same. The first one replaces
# dcache_lock with new vfsmount_lock in namespace.c. The lock is
# local to namespace.c and is not required outside. The second patch
# uses RCU to have lock free lookup_mnt(). The patches are quite simple
# and straight forward.
# 
# The lockmeter reults show reduced contention, and lock acquisitions
# for dcache_lock while running dcachebench* on a 4-way SMP box
# 
#     SPINLOCKS         HOLD            WAIT
#     UTIL  CON    MEAN(  MAX )   MEAN(  MAX )(% CPU)     TOTAL NOWAIT SPIN RJECT  NAME
# 
#   baselkm-2569:
#     20.7% 20.9%  0.5us( 146us)  2.9us( 144us)(0.81%)  31590840 79.1% 20.9%    0%  dcache_lock
#   mntlkm-2569:
#     14.3% 13.6%  0.4us( 170us)  2.9us( 187us)(0.42%)  23071746 86.4% 13.6%    0%  dcache_lock
# 
# We get more than 8% improvement on 4-way SMP and 44% improvement on 16-way
# NUMAQ while runing dcachebench*.
# 
# 		Average (usecs/iteration)	Std. Deviation
# 		(lower is better)
# 4-way SMP
#   2.5.69	15739.3				470.90
#   2.5.69-mnt	14459.6				298.51
# 
# 16-way NUMAQ
#   2.5.69	120426.5			363.78
#   2.5.69-mnt	 63225.8			427.60
# 
# *dcachebench is a microbenchmark written by Bill Hartner and is available at
# http://www-124.ibm.com/developerworks/opensource/linuxperf/dcachebench/dcachebench.html
# 
#  vfsmount_lock.patch
#  -------------------
#  - Patch for replacing dcache_lock with new vfsmount_lock for all mount
#    related operation. This removes the need to take dcache_lock while
#    doing follow_mount or follow_down operations in path walking.
# 
# I re-ran dcachebench with 2.5.70 as base on 16-way NUMAQ box.
# 
#                 	Average (usecs/iteration)       Std. Deviation
#                 	(lower is better)
# 16-way NUMAQ
# 2.5.70 				120710.9		 	230.67
#  + vfsmount_lock.patch  	65209.6				242.97
#     + lookup_mnt-rcu.patch 	64042.3				416.61
# 
# So just the lock splitting (vfsmount_lock.patch) gives almost similar benifits
# --------------------------------------------
# 03/07/11	akpm@osdl.org	1.1373.1.50
# [PATCH] fix for CPU scheduler load distribution
# 
# From: Ingo Molnar <mingo@elte.hu>
# 
# It makes hot-balancing happen in the 'busy tick' case as well, which should
# spread out processes more agressively.
# --------------------------------------------
# 03/07/11	akpm@osdl.org	1.1373.1.51
# [PATCH] NBD: cosmetic cleanups
# 
# From: Lou Langholtz <ldl@aros.net>
# 
# It's a helpful step in being better able to identify code inefficiencies
# and problems particularly w.r.t.  locking.  It also modifies some of the
# output messages for greater consistancy and better diagnostic support.
# 
# This second patch is a lead in that way to the third patch, which will
# simply introduce the dprintk() debugging facility that my jumbo patch
# originally had.
# 
# With the cosmetics patch and debugging enhancement (patch), it will make it
# easier to fix or at least improve the locking bugs/races in NBD (that will
# likely make up the fourth patch in my envisioned roadmap).
# --------------------------------------------
# 03/07/11	akpm@osdl.org	1.1373.1.52
# [PATCH] nbd: enhanced diagnostics support
# 
# From: Lou Langholtz <ldl@aros.net>
# 
# This third patch (for enhancing diagnostics support) applies incrementally
# after my last LKML'd patch (for cosmetic changes).  These changes introduce
# configurable KERN_DEBUG level printk output for a variety of different
# things that the driver does and provides the framework for enhanced future
# debugging support as well.
# --------------------------------------------
# 03/07/11	akpm@osdl.org	1.1373.1.53
# [PATCH] nbd: remove unneeded blksize_bits field
# 
# From: Lou Langholtz <ldl@aros.net>
# 
# This fourth patch simply removes the blksize_bits field from the nbd_device
# struct and driver implementation.  How this field made it into this driver
# to begin with is a mystery (where was Al Viro when that patch was
# submitted??).  :-)
# 
# This patch modifies both drivers/block/nbd.c and include/linux/nbd.h files.
#  It's intended to be applied incrementally on top of my third patch (for
# enhanced diagnostics support).
# --------------------------------------------
# 03/07/11	akpm@osdl.org	1.1373.1.54
# [PATCH] nbd: initialise the embedded kobject
# 
# From: Lou Langholtz <ldl@aros.net>
# 
# Fixes the NBD oopses which people have been reporting.
# --------------------------------------------
# 03/07/11	akpm@osdl.org	1.1373.1.55
# [PATCH] nbd: cleanup PARANOIA usage & code
# 
# From: Lou Langholtz <ldl@aros.net>
# 
# This fifth patch cleans up usage of the PARANOIA sanity checking macro and
# code.  This patch modifies both drivers/block/nbd.c and
# include/linux/nbd.h.  It's intended to be applied incrementally on top of
# my fourth patch (4.1 really if you count the memset addition as .1's worth)
# that simply removed unneeded blksize_bits field.  Again, I wanted to get
# this smaller change out of the way before my next patch will is much more
# major.
# --------------------------------------------
# 03/07/11	akpm@osdl.org	1.1373.1.56
# [PATCH] NBD documentation update
# 
# From: Paul Clements <Paul.Clements@SteelEye.com>
# 
# Modernise nbd.txt a bit.
# --------------------------------------------
# 03/07/11	akpm@osdl.org	1.1373.1.57
# [PATCH] nbd: remove unneeded nbd_open/nbd_release and refcnt
# 
# From: Paul Clements <Paul.Clements@SteelEye.com>
# 
# Remove the unneeded nbd_open and nbd_release functions.
# --------------------------------------------
# 03/07/11	akpm@osdl.org	1.1373.1.58
# [PATCH] nbd: make nbd and block layer agree about device and
# 
# From: Paul Clements <Paul.Clements@SteelEye.com>
# 
# Ensure that nbd and the block layer agree about device block sizes and total
# device sizes.
# --------------------------------------------
# 03/07/11	akpm@osdl.org	1.1373.1.59
# [PATCH] JBD: checkpointing optimisations
# 
# From: Alex Tomas <bzzz@tmi.comex.ru>
# 
# Some transaction checkpointing improvements for the JBD commit phase.  Decent
# speedups:
# 
# creation of 500K files in single dir (with htree, of course):
#  before: 4m16.094s, 4m12.035s, 4m11.911s
#  after:  1m41.364s, 1m43.461s, 1m45.189s
# 
# removal of 500K files in single dir:
#  before: 43m50.161s
#  after:  38m45.510s
# 
# 
# - Make __log_wait_for_space() recalculate the needed blocks because journal
#   free space changes during commit
# 
# - Make log_do_checkpoint() starts scanning from the oldest transaction
# 
# - Make log_do_checkpoint() stop scanning if a transaction gets dropped.
#   The caller will reevaluate the transaction state and decide whether more
#   space needs to be generated in the log.
# 
#   The effect of this is to smooth out the I/O patterns, avoid the huge
#   stop-and-go which currently happens when forced checkpointing writes out
#   and waits upon 3/4 of the journal's size worth of data.
# --------------------------------------------
# 03/07/11	akpm@osdl.org	1.1373.1.60
# [PATCH] JBD: transaction buffer accounting fix
# 
# From: Alex Tomas <bzzz@tmi.comex.ru>
# 
# start_this_handle() takes into account t_outstanding_credits when calculating
# log free space, but journal_next_log_block() accounts for blocks being logged
# also.  Hence, blocks are accounting twice.  This effectively reduces the
# amount of log space available to transactions and forces more commits.
# 
# Fix it by decrementing t_outstanding_credits each time we allocate a new
# journal block.
# --------------------------------------------
# 03/07/11	akpm@osdl.org	1.1373.1.61
# [PATCH] ext3: sync_fs() fix
# 
# From: Alex Tomas <bzzz@tmi.comex.ru>
# 
# fsync_super() calls ->sync_fs() just after ->write_super().  But
# write_super() will start a commit.  In this case, ext3_sync_fs() will not
# itself start a commit, and it hence forgets to wait on the commit which
# ext3_write_super() started.
# 
# Fix that up by making journal_start_commit() return the transaction ID of
# any currently-running transaction.
# --------------------------------------------
# 03/07/11	akpm@osdl.org	1.1373.1.62
# [PATCH] oom killer fixes
# 
# From: William Lee Irwin III <wli@holomorphy.com>
# 
# There are reports of kernel threads being killed by the oomkiller.  We
# think this is because the oom killer tries to kill a task after it has
# exitted and set its ->mm to zero.  The oom killer will then try to kill all
# other tasks which have a null ->mm.
# 
# Attempt to detect that case and fix it up.
# --------------------------------------------
# 03/07/11	akpm@osdl.org	1.1373.1.63
# [PATCH] yenta-socket initialisation fix
# 
# From: Daniel Ritz <daniel.ritz@gmx.ch>
# 
# init_socket() enables interrupts, and the interrupt handler does a wakeup.
# Let's initialise that waitqueue head before turning on the interrupts.
# --------------------------------------------
# 03/07/11	akpm@osdl.org	1.1373.1.64
# [PATCH] Fix yenta-socket oops
# 
# From: Russell King <rmk@arm.linux.org.uk>
# 
# Interrupts can sometimes occur before the socket thread is started.
# --------------------------------------------
# 03/07/11	akpm@osdl.org	1.1373.1.65
# [PATCH] devfs oops fix
# 
# From: Andrey Borzenkov <arvidjaar@mail.ru>
# 
# Doing concurrent lookups for the same name in devfs with devfsd and modules
# enabled may result in stack coruption.
# 
# When devfs_lookup needs to call devfsd it arranges for other lookups for the
# same name to wait. It is using local variable as wait queue head. After
# devfsd returns devfs_lookup wakes up all waiters and returns. Unfortunately
# there is no garantee all waiters will actually get chance to run and clean up
# before devfs_lookup returns. so some of them attempt to access already freed
# storage on stack.
# 
# It is trivial to trigger with SMP kernel (I have single-CPU system if it
# matters) doing
# 
# while true
# do
#   ls /dev/foo &
# done
# 
# Without spinlock debug system usually hung dead with reset button as the only
# possibility.
# 
# I was not able to reproduce it on 2.4 on single-CPU system - in 2.4
# devfs_d_revalidate_wait does not attempt to remove itself from wait queue
# so it appears to be safe.
# 
# The patch makes lookup struct be allocated from heap and adds reference
# counter to free it when no more needed.
# --------------------------------------------
# 03/07/11	akpm@osdl.org	1.1373.1.66
# [PATCH] devfs deadlock fix
# 
# From: Andrey Borzenkov <arvidjaar@mail.ru>
# 
# I finally hit a painfully trivial way to reproduce another long standing devfs
# problem - deadlock between devfs_lookup and devfs_d_revalidate_wait. When
# devfs_lookup releases directory i_sem devfs_d_revalidate_wait grabs it (it
# happens not for every path) and goes to wait to be waked up. Unfortunately,
# devfs_lookup attempts to acquire directory i_sem before ever waking it up ...
# 
# To reproduce (2.5.74 UP or SMP - does not matter, single CPU system)
# 
# ls /dev/foo & rm -f /dev/foo &
# 
# or possibly in a loop but then it easily fills up process table. In my case it
# hangs 100% reliably - on 2.5 OR 2.4.
# 
# The current fix is to move re-acquire of i_sem after all
# devfs_d_revalidate_wait waiters have been waked up.  Much better fix would be
# to ensure that ->d_revalidate either is always called under i_sem or always
# without.  But that means the very heart of VFS and I do not dare to touch it.
# 
# The fix has been tested on 2.4 (and is part of unofficial Mandrake Club
# kernel); I expected the same bug is in 2.5; I just was stupid not seeing the
# way to reproduce it before.
# --------------------------------------------
# 03/07/11	akpm@osdl.org	1.1373.1.67
# [PATCH] epoll-per-fd fix
# 
# From: Davide Libenzi <davidel@xmailserver.org>
# 
# Fix epoll to allow pushing of multiple file descriptors sharing the same
# kernel's file*
# --------------------------------------------
# 03/07/11	axboe@suse.de	1.1373.1.68
# [PATCH] disk stats accounting fix
# 
# We should only account file system requests, ones originating from
# __make_request(). Otherwise it skews the counters and they go negative
# really fast.
# --------------------------------------------
# 03/07/11	miles@lsi.nec.co.jp	1.1373.1.69
# [PATCH] Use <asm-generic/statsfs.h> on v850
# --------------------------------------------
# 03/07/11	miles@lsi.nec.co.jp	1.1373.1.70
# [PATCH] More irqreturn_t changes for v850
# --------------------------------------------
# 03/07/11	miles@lsi.nec.co.jp	1.1373.1.71
# [PATCH] show_stack changes for v850
# --------------------------------------------
# 03/07/11	davem@nuts.ninka.net	1.1373.4.8
# [NET,COMPAT]: Delete bogus icmpv6 filter translation code.
# 
# A long time ago in a land far far away the icmpv6 filter
# code bogusly used the "unsigned long" based bitops and
# thus we had all kinds of endianness problems wrt. 32-bit
# apps running on 64-bit machines.  These days the icmpv6
# code explicitly uses u32 fixed types and thus no translations
# are necessary.
# --------------------------------------------
# 03/07/11	davem@nuts.ninka.net	1.1373.4.9
# [IPV6]: Fix leaks of ndisc DST entries.
# --------------------------------------------
# 03/07/11	davej@tetrachloride.(none)	1.1373.1.72
# Merge tetrachloride.(none):/mnt/raid/src/kernel/2.5/bk-linus
# into tetrachloride.(none):/mnt/raid/src/kernel/2.5/agpgart
# --------------------------------------------
# 03/07/11	cifs.adm@hostme.bitkeeper.com	1.1373.8.1
# Merge bk://linux.bkbits.net/linux-2.5
# into hostme.bitkeeper.com:/repos/c/cifs/linux-2.5cifs
# --------------------------------------------
# 03/07/11	stevef@stevef95.austin.ibm.com	1.1373.8.2
# fix cifs distributed caching - send oplock release immediately after flush of writebehind data on oplock break from server
# --------------------------------------------
# 03/07/11	alan@lxorguk.ukuu.org.uk	1.1373.8.3
# [PATCH] genrtc sets owner fields so..
# --------------------------------------------
# 03/07/11	alan@lxorguk.ukuu.org.uk	1.1373.8.4
# [PATCH] Remove bogus printk in microcode.c
# --------------------------------------------
# 03/07/11	alan@lxorguk.ukuu.org.uk	1.1373.8.5
# [PATCH] clean up floppy98 a bit
# --------------------------------------------
# 03/07/11	alan@lxorguk.ukuu.org.uk	1.1373.8.6
# [PATCH] dtlk comment fix
# --------------------------------------------
# 03/07/11	alan@lxorguk.ukuu.org.uk	1.1373.8.7
# [PATCH] isurf compile fix
# --------------------------------------------
# 03/07/11	alan@lxorguk.ukuu.org.uk	1.1373.8.8
# [PATCH] axnet can unload with timers live
# --------------------------------------------
# 03/07/11	alan@lxorguk.ukuu.org.uk	1.1373.8.9
# [PATCH] ibmtr can unload with timers live
# --------------------------------------------
# 03/07/11	alan@lxorguk.ukuu.org.uk	1.1373.8.10
# [PATCH] fix up nmclan locking and hang on eject at wrong moment
# 
# [Not tested as I no longer have the card]
# --------------------------------------------
# 03/07/11	alan@lxorguk.ukuu.org.uk	1.1373.8.11
# [PATCH] fix further timer in pcmcia stuff
# 
# #ra1
# --------------------------------------------
# 03/07/11	alan@lxorguk.ukuu.org.uk	1.1373.8.12
# [PATCH] Fix remaining g_NCR5380 use of check_region
# --------------------------------------------
# 03/07/11	alan@lxorguk.ukuu.org.uk	1.1373.8.13
# [PATCH] not sure what the author was on ..
# --------------------------------------------
# 03/07/11	alan@lxorguk.ukuu.org.uk	1.1373.8.14
# [PATCH] AC97 updates from 2.4
# 
# This deals with several things
# - Codecs that think they are modems but are not
# - Abstracting modem detection out of drivers
# - Abstracting digital switching out of drivers
# - Codecs that have no volume control
# - Codec plugins for specific setups
# - Codec plugins for things like touchscreen/batmon on AC97
# - More codec handlers
# 
# The plugin API is intentionally modelled on the other driver_register
# type interfaces.
# --------------------------------------------
# 03/07/11	alan@lxorguk.ukuu.org.uk	1.1373.8.15
# [PATCH] Add the au1000 driver
# 
# This is used by some MIPS systems
# --------------------------------------------
# 03/07/11	alan@lxorguk.ukuu.org.uk	1.1373.8.16
# [PATCH] demo plugin for switching ad1980 ports Dell style
# --------------------------------------------
# 03/07/11	alan@lxorguk.ukuu.org.uk	1.1373.8.17
# [PATCH] Fix security leaks in btaudio
# --------------------------------------------
# 03/07/11	alan@lxorguk.ukuu.org.uk	1.1373.8.18
# [PATCH] Add the ALI5455 driver from 2.4
# 
# This is the newer audio used in later ALi chipsets.
# --------------------------------------------
# 03/07/11	alan@lxorguk.ukuu.org.uk	1.1373.8.19
# [PATCH] fix security leaks in cmpci
# --------------------------------------------
# 03/07/11	alan@lxorguk.ukuu.org.uk	1.1373.8.20
# [PATCH] Update cs46xx in 2.5 to the newer 2.4 release
# --------------------------------------------
# 03/07/11	alan@lxorguk.ukuu.org.uk	1.1373.8.21
# [PATCH] fix the security leak in dmasound
# --------------------------------------------
# 03/07/11	alan@lxorguk.ukuu.org.uk	1.1373.8.22
# [PATCH] Switch the SB Live! to the new ac97 api
# --------------------------------------------
# 03/07/11	alan@lxorguk.ukuu.org.uk	1.1373.8.23
# [PATCH] fix security leaks and a crash in es1370
# --------------------------------------------
# 03/07/11	alan@lxorguk.ukuu.org.uk	1.1373.8.24
# [PATCH] bring es1371 in line with 2.4
# 
# Fixes security leak
# Fixes a crash
# Updates to use the new ac97
# --------------------------------------------
# 03/07/11	alan@lxorguk.ukuu.org.uk	1.1373.8.25
# [PATCH] fix security leak and crash in esssolo
# --------------------------------------------
# 03/07/11	alan@lxorguk.ukuu.org.uk	1.1373.8.26
# [PATCH] Add Forte Media OSS driver
# --------------------------------------------
# 03/07/11	alan@lxorguk.ukuu.org.uk	1.1373.8.27
# [PATCH] update ITE audio
# --------------------------------------------
# 03/07/11	alan@lxorguk.ukuu.org.uk	1.1373.8.28
# [PATCH] update the i810 audio driver
# --------------------------------------------
# 03/07/11	alan@lxorguk.ukuu.org.uk	1.1373.8.29
# [PATCH] switch maestro3 to new ac97
# --------------------------------------------
# 03/07/11	alan@lxorguk.ukuu.org.uk	1.1373.8.30
# [PATCH] fix security leak in maestro.c
# --------------------------------------------
# 03/07/11	alan@lxorguk.ukuu.org.uk	1.1373.8.31
# [PATCH] fix security leak in msnd_pinnacle.c
# --------------------------------------------
# 03/07/11	alan@lxorguk.ukuu.org.uk	1.1373.8.32
# [PATCH] Add swarm driver for broadcom boards
# --------------------------------------------
# 03/07/11	alan@lxorguk.ukuu.org.uk	1.1373.8.33
# [PATCH] update nec driver to new ac97
# --------------------------------------------
# 03/07/11	alan@lxorguk.ukuu.org.uk	1.1373.8.34
# [PATCH] update trident driver for new ac97 etc
# --------------------------------------------
# 03/07/11	alan@lxorguk.ukuu.org.uk	1.1373.8.35
# [PATCH] fix wrong printk in nm256 audio
# --------------------------------------------
# 03/07/11	alan@lxorguk.ukuu.org.uk	1.1373.8.36
# [PATCH] update via audio driver, make it work on esd add new chips
# --------------------------------------------
# 03/07/11	alan@lxorguk.ukuu.org.uk	1.1373.8.37
# [PATCH] more wrong strlcpy's
# --------------------------------------------
# 03/07/11	alan@lxorguk.ukuu.org.uk	1.1373.8.38
# [PATCH] update ymfpci for new ac97
# --------------------------------------------
# 03/07/11	alan@lxorguk.ukuu.org.uk	1.1373.8.39
# [PATCH] Merge AD1889 driver from 2.4
# --------------------------------------------
# 03/07/11	romieu@fr.zoreil.com	1.1373.8.40
# [PATCH] Fix AD1889 driver 2.4 merge
# 
# - include/linux/wrapper.h doesn't exist in 2.5.75 and none of it's content
#   is used by the driver;
# - s/MINOR/minor/;
# - KConfig/Makefile update.
# --------------------------------------------
# 03/07/11	torvalds@home.osdl.org	1.1373.8.41
# Merge with DRI CVS tree - which added a reminder to the DRI
# people not to remove the HAVE_KERNEL_CTX_SWITCH support that
# the sparc drivers require.
# 
# Fix a FIXME.
# --------------------------------------------
# 03/07/11	davem@nuts.ninka.net	1.1373.9.1
# Merge nuts.ninka.net:/home/davem/src/BK/network-2.5
# into nuts.ninka.net:/home/davem/src/BK/net-2.5
# --------------------------------------------
# 03/07/11	davem@nuts.ninka.net	1.1373.10.1
# Merge nuts.ninka.net:/home/davem/src/BK/sparcwork-2.5
# into nuts.ninka.net:/home/davem/src/BK/sparc-2.5
# --------------------------------------------
# 03/07/12	davem@nuts.ninka.net	1.1373.10.2
# [SPARC64]: Ditch local KALLSYMS from Kconfig, update defconfig.
# --------------------------------------------
# 03/07/12	davidm@tiger.hpl.hp.com	1.1380
# Clean up some no-longer-needed ia64 workarounds.
# --------------------------------------------
#
diff -Nru a/drivers/acpi/pci_irq.c b/drivers/acpi/pci_irq.c
--- a/drivers/acpi/pci_irq.c	Wed Jul 16 00:38:44 2003
+++ b/drivers/acpi/pci_irq.c	Wed Jul 16 00:38:44 2003
@@ -44,10 +44,6 @@
 #include <acpi/acpi_bus.h>
 #include <acpi/acpi_drivers.h>
 
-#ifdef CONFIG_X86
-# define PCI_SEGMENT(x)	0	/* XXX fix me */
-#endif
-
 
 #define _COMPONENT		ACPI_PCI_COMPONENT
 ACPI_MODULE_NAME		("pci_irq")
diff -Nru a/include/linux/irq.h b/include/linux/irq.h
--- a/include/linux/irq.h	Wed Jul 16 00:38:44 2003
+++ b/include/linux/irq.h	Wed Jul 16 00:38:44 2003
@@ -56,7 +56,7 @@
  *
  * Pad this out to 32 bytes for cache and indexing reasons.
  */
-typedef struct irq_desc {
+typedef struct {
 	unsigned int status;		/* IRQ status */
 	hw_irq_controller *handler;
 	struct irqaction *action;	/* IRQ action list */
@@ -66,9 +66,7 @@
 	spinlock_t lock;
 } ____cacheline_aligned irq_desc_t;
 
-#ifndef CONFIG_IA64
 extern irq_desc_t irq_desc [NR_IRQS];
-#endif
 
 #include <asm/hw_irq.h> /* the arch dependent stuff */
 
diff -Nru a/include/linux/sched.h b/include/linux/sched.h
--- a/include/linux/sched.h	Wed Jul 16 00:38:44 2003
+++ b/include/linux/sched.h	Wed Jul 16 00:38:44 2003
@@ -517,10 +517,9 @@
  */
 extern struct exec_domain	default_exec_domain;
 
-#ifndef __HAVE_ARCH_TASK_STRUCT_ALLOCATOR
-# ifndef INIT_THREAD_SIZE
-#  define INIT_THREAD_SIZE	2048*sizeof(long)
-# endif
+#ifndef INIT_THREAD_SIZE
+# define INIT_THREAD_SIZE	2048*sizeof(long)
+#endif
 
 union thread_union {
 	struct thread_info thread_info;
@@ -528,8 +527,6 @@
 };
 
 extern union thread_union init_thread_union;
-
-#endif /* !__HAVE_ARCH_TASK_STRUCT_ALLOCATOR */
 
 extern struct task_struct init_task;